﻿<%@ Page Title="采购价格异常风险告知书" Language="C#" MasterPageFile="~/Master/MasterPage_New.master"
    AutoEventWireup="true" CodeBehind="HospitalWarn.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.NewReport.HospitalWarn" %>

<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <%--<div id="tabnav">
		<ul>
			<li class="active"><a href="javascript:void(0)">采购价格异常风险告知书</a></li>
		</ul>
	</div>--%>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <th>所在地区：</th>
                <td class="area">
                    <uc3:AreaControl ID="ddlArea" runat="server" />
                </td>
                <th>年份：</th>
                <td>
                    <asp:TextBox ID="txtYear" runat="server" onFocus="WdatePicker({dateFmt:'yyyy'})"
                        MaxLength="10"></asp:TextBox>
                </td>
                <th>月份：</th>
                <td>
                    <asp:TextBox ID="txtMonth" runat="server" onFocus="WdatePicker({dateFmt:'MM'})" MaxLength="10"></asp:TextBox>
                </td>
                <th></th>
                <td>
                    <hz:HzButton ID="btnQuery" runat="server" Text="查 询" OnClick="btnQuery_Click" CssClass="btn" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvw" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合条件的数据！">
        <Columns>
            <asp:BoundField DataField="areaname2" HeaderText="市州" ReadOnly="true" />
            <asp:BoundField DataField="areaname" HeaderText="区县" ReadOnly="true" />
            <asp:BoundField DataField="HospitalName" HeaderText="采购医院" ReadOnly="true" />
            <asp:BoundField DataField="GoodsID" HeaderText="产品流水号" ReadOnly="true" />
            <asp:TemplateField HeaderText="产品注册证名称">
                <ItemTemplate>
                    <asp:Label ID="bb" runat="server" ToolTip='<%# Eval("RegName")%>'><%# HZ.Supervise.Web.Function.SubStr(Eval("RegName"))%></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox runat="server" ID="txtOutlookc" Text='<%#Eval("RegName") %>' Width="40px"></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="MinPrice" HeaderText="全省历史最低采购价" ReadOnly="true" DataFormatString="{0:F2}" />
            <asp:BoundField DataField="JQPrice" HeaderText="全省加权平均价" ReadOnly="true" DataFormatString="{0:F2}" />
            <asp:BoundField DataField="Price" HeaderText="采购价" ReadOnly="true" DataFormatString="{0:F2}" />
            <asp:BoundField DataField="CountYear" HeaderText="年份" ReadOnly="true" />
            <asp:BoundField DataField="CountMonth" HeaderText="月份" ReadOnly="true" />
            <asp:TemplateField HeaderText="高于全省历史最低采购价比例超过50%">
                <ItemTemplate>
                    <asp:Label ID="bb" runat="server" Text='<%#Eval("ismorehalf")==null?"否":Eval("ismorehalf").ToString()=="1"?"是":"否" %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="高于全省加权平均价">
                <ItemTemplate>
                    <asp:Label ID="aa" runat="server" Text='<%#Eval("ismorejqprice")==null?"否":Eval("ismorejqprice").ToString()=="1"?"是":"否" %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div class="PageChanged">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>提示:<span style="color: Red;"> 1，以上为采购价格异常风险数据，请医院在15个工作日内对以上产品采购价格进行整改，并将整改措施及效果以附表格式（须加盖单位公章）扫描上传。</span></li>
            <li><span style="color: Red;">2，到【整改情况】功能页面，逐月上传整改措施及效果附表扫描件。</span></li>
        </ul>
    </div>
</asp:Content>
